package com.glureau.aib.server.ai;

import java.util.List;

import com.glureau.aib.client.ai.AiService;
import com.glureau.aib.server.db.mysql.DB_Ai;
import com.glureau.aib.shared.ai.AiInfo;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;

@SuppressWarnings("serial")
public class AiServiceImpl extends RemoteServiceServlet implements AiService {

	@Override
	public List<AiInfo> getAiInfos(String sessionId) {
		return new DB_Ai().getAis(sessionId);
	}

	@Override
	public void saveAi(String sessionId, AiInfo pionInfo) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public AiInfo getAiInfo(String sessionId, int numero) {
		// TODO Auto-generated method stub
		return null;
	}

}
